﻿namespace TicketReservationSystem.Common.Entities
{
    public class Plane
    {
        public Plane(string name, Airline airline, int capacity)
        {
            Name = name;
            Airline = airline;
            Capacity = capacity;
        }

        public Plane() {}

        public int ID { get; set; }

        public string Name { get;  set; }

        public Airline Airline { get; set; }

        public int Capacity { get; set; }
    }
}
